package wzc.design_pattern.construction.composite;

/**
 * @Author 那和不是个啥
 * @Date 2025/7/20
 * @Description
 */

public class Developer implements Employee {
    private String name;
    private String position;

    public Developer(String name, String position) {
        this.name = name;
        this.position = position;
    }

    @Override
    public void showDetails() {
        System.out.println("开发者：" + name + "，职位：" + position);
    }
}
